﻿@model IEnumerable<VideoCache.Server.Model.CompanyInfo>

@{
    ViewBag.Title = "我管理的网吧";
    Layout = "~/Areas/Member/Views/Shared/_Layout.cshtml";
}

<h2>@ViewBag.Title</h2>

<table width="100%" class="list">
<thead>
    <tr>
        <th>商户名称</th>
        <th>联系人</th>
        <th>所在地区</th>
        <th>联系电话</th>
        <th>手机</th>
        <th>商户类型</th>
        <th>状态</th>
        <th></th>
    </tr>
</thead>
<tbody>
@foreach (var item in Model) {
    <tr>
        <td>@Html.DisplayFor(modelItem => item.Name)</td>
        <td>@Html.DisplayFor(modelItem => item.ContactPerson)</td>
        <td>@Html.DisplayFor(modelItem => item.Province) @Html.DisplayFor(modelItem => item.City)</td>
        <td>@Html.DisplayFor(modelItem => item.Telephone)</td>
        <td>@Html.DisplayFor(modelItem => item.Mobile)</td>
        <td>@Html.DisplayFor(modelItem => item.CompanyType)</td>
        <td>@Html.DisplayFor(modelItem => item.Status)</td>
        <td>
            @Html.ActionLink("查看详情", "Details", new { id=item.Id }) |
            @Html.ActionLink("续费", "Pay", "Payment", new { id=item.Id }) |
        </td>
    </tr>
}
</tbody>
</table>